const pactName = [{
		required: true,
		message: '合同名称不能为空',
		trigger: 'blur'
	},
	{
		min: 6,
		max: 16,
		message: '名称长度在 6 到 16 个字符之间',
		trigger: 'blur'
	},
]

const pactNum = [{
		required: true,
		message: '合同编号不能为空',
		trigger: 'blur'
	},
	{
		min: 6,
		max: 16,
		message: '编号长度在 6 到 16 个字符之间',
		trigger: 'blur'
	},
]

const pactType = [{
		required: true,
		message: '合同类型不能为空',
		trigger: 'blur'
	},
]

const mainDate = [{
		required: true,
		message: '签署日期不能为空',
		trigger: 'blur'
	},
]

const pactStartTime = [{
		required: true,
		message: '合同开始日期不能为空',
		trigger: 'blur'
	},
]

const pactEndTime = [{
		required: true,
		message: '合同结束日期不能为空',
		trigger: 'blur'
	},
]

const pactAffix = [{
		required: true,
		message: '合同附件不能为空',
		trigger: 'blur'
	},
]

const company = [{
		required: true,
		message: '维保单位不能为空',
		trigger: 'blur'
	},
]

const userUnit = [{
		required: true,
		message: '使用单位不能为空',
		trigger: 'blur'
	},
]

const liftUnit = [{
		required: true,
		message: '维保电梯不能为空',
		trigger: 'blur'
	},
]

export{
	pactName,
	pactType,
	pactNum,
	pactStartTime,
	pactEndTime,
	mainDate,
	pactAffix,
	company,
	userUnit,
	liftUnit
}